package com.ets.Vehicle_DAO;

import java.util.ArrayList;

/******************************************************************************* 
 <big><b>VehicleIO</b></big> interface, that defines the methods available for use
 with the <big><b>Vehicle</b></big> object
 <br><br>
 @author D.Merkling - 1:33:38 PM - Aug 22, 2011
 <br><br>
 @version 1.0  
*******************************************************************************/ 
public interface VehicleIO
  {
   // Vehicle reader methods
   boolean existsVehicle (int Stck_No);
   boolean existsVehicle (String VIN);
   Vehicle getVehicle    (int Stck_No);
   Vehicle getVehicle    (String VIN);
   boolean getVehicles   (ArrayList<Vehicle> vehicles);

   // Vehicle writer methods
   boolean addVehicle    (Vehicle v);
   boolean updateVehicle (Vehicle v);
   boolean deleteVehicle (Vehicle v);
  }
